﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DHM.Model.DTO {
    public class UserCommentDtoInput {
        /// <summary>
        /// 用户评论内容
        /// </summary>
        [MaxLength (50)]
        public string CommentContent { get; set; }
        /// <summary>
        /// 用户评论时间
        /// </summary>
        public DateTime? CommentTime { get; set; }
        /// <summary>
        /// 用户头像
        /// </summary>
        public string UserAvatar { get; set; }
        /// <summary>
        /// 用户名
        /// </summary>
        public string UserName { get; set; }
        /// <summary>
        /// 当前评论的模块
        /// </summary>
        public CommentModule CommentModule { get; set; }
    }
}